﻿
namespace MockingBird.Studio.UI.UserControls.Model
{
    using System.ServiceModel.Description;

    public class WsdlOperation
    {
        public string OperationName { get; set; }

        public bool IsOneWay { get; set; }

        public WsdlMessage InputMessage { get; set; }

        public WsdlMessage OutputMessage { get; set; }

        public OperationDescription Operation { get; set; }

        public void Load(OperationDescription sourceOp)
        {
            this.OperationName = sourceOp.Name;
            this.IsOneWay = sourceOp.IsOneWay;
            this.Operation = sourceOp;


        }


    }
}
